package android.slc.cim.client;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @Description:
 * @Author: sunlunchang
 * @CreateDate: 2022/03/30 下午 3:10
 */
class CIMCacheCompatManager {
    private static final Map<String, Object> cacheMap = new ConcurrentHashMap<>();
    public static final String KEY_BIND = "KEY_BIND";

    public static boolean getBind() {
        Object bind = cacheMap.get(KEY_BIND);
        if (bind == null) {
            return false;
        }
        return (boolean) bind;
    }

    public static void setBind(boolean bind) {
        cacheMap.put(KEY_BIND, bind);
    }
}
